package com.huabo.monitor.mapper;



import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huabo.monitor.entity.TblAssEleCategory;
import org.apache.ibatis.annotations.Select;

import java.math.BigDecimal;
import java.util.List;

public interface TblAssEleCategoryMapper extends BaseMapper<TblAssEleCategory> {

    @Select("select  * from TBL_ASSELE_CATEGORY\n" +
            "where asscatid in (select asscatid from TBL_ASSESSCATEGORY where asstemid=#{id})")
    List<TblAssEleCategory> getAssesscategoryByMuBanId(BigDecimal id);




}
